package com.syni.mdd.yhd.common.all.listen.groupMessage;

import com.syni.mdd.yhd.common.all.entity.BmsBusiness;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

import java.util.Set;

/**
 * @className GroupMessageEvent
 * @description TOO
 * @Author cfx
 * @DATE 2019/9/12 16:17
 * @VERSION 1.0
 **/
@Data
public class GroupMessageEvent extends ApplicationEvent {
    private BmsBusiness bmsBusiness;
    private Set<Integer> sendUsers;
    private String content;
    public GroupMessageEvent(Object source) {
        super(source);
    }

    public GroupMessageEvent(Object source, BmsBusiness bmsBusiness, Set<Integer> sendUsers, String content) {
        super(source);
        this.bmsBusiness = bmsBusiness;
        this.sendUsers = sendUsers;
        this.content = content;
    }
}
